third order lagrange